<?php
$auth_code='queryauthcode@@@1vjjADsdncgk6MtMu1bx-gRP-BtxQZ5-YGpVk9rlvyhfEAtnVXuigl3sYCCG1DmVshAmphCQM-waQQ0bTH8uCQ';

$get_access_token=json_decode(file_get_contents('./log/component_access_token.json'), true);
$component_access_token=$get_access_token['component_access_token'];
$url='https://api.weixin.qq.com/cgi-bin/component/api_query_auth?component_access_token='.$component_access_token;
$data='{
"component_appid":"wx82aa345f1fb8714b" ,
"authorization_code": "'.$auth_code.'"
}';
$res = json_decode(http_request($url, $data), true);
var_dump($res);
